package com.yc.cloud.openai.portal.dto.request;

import com.yc.cloud.openai.portal.enums.TextToImageProvider;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
@Schema
public class TextToImageHistoryRequest {

    @Schema(description = "提供者", example = "1", defaultValue = "1", hidden = true, allowableValues = {"1", "2"})
    @NotNull(message = "提供者不能为空")
    private TextToImageProvider provider = TextToImageProvider.COMFY_UI;

    @Schema(description = "任务ID", example = "34ba668d-a513-4b15-8451-e60aabc79a2f", required = true)
    @NotEmpty(message = "任务ID不能为空")
    private String promptId;

}
